package org.docmanagement.commons;

import java.util.Comparator;

import org.docmanagement.forms.CategoryForm;

public class CategoryComparator implements Comparator<CategoryForm> {

	public CategoryComparator() {
		super();
	}

	public int compare(CategoryForm c1, CategoryForm c2) {
		String name1 = c1.getFullname();
		String name2 = c2.getFullname();
		return name1.compareTo(name2);
	}

}
